package com.common
{
	import xm.util.NumberUtil;
	
	/**
	 * <br> 클래스 설명 : </br>
	 * @author 강석민
	 */	
	public class TempData
	{
		//-----------------------------------------------------------------------------------
		// public vars
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// protected / internal vars
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// private vars
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// public functions
		//-----------------------------------------------------------------------------------
		
		/**
		 * constructor 
		 */	
		public function TempData()
		{
		}
		
		static public function get YEAR():Array
		{
			var  yearDataProvider : Array = [];
			//Data
			var i : int, len : int;
			i=0, len=100;
			while( i<len )
			{
				yearDataProvider.push( "20"+ NumberUtil.getUnitString( i, 2 ) );
				++i;
			}
			
			return yearDataProvider;
		}
		
		static public function get MONTH():Array
		{
			var monthDataProvider : Array = [];
			//Data
			var i : int, len : int;
			i=0, len=12;
			while( i<len )
			{
				monthDataProvider.push( NumberUtil.getUnitString( i+1, 2 ) );
				++i;
			}
			
			return monthDataProvider;
		}
		
		static public function get DAY():Array
		{
			var dayDataProvider : Array = [];
			//Data
			var i : int, len : int;
			i=0, len=31;
			while( i<len )
			{
				dayDataProvider.push( NumberUtil.getUnitString( i+1, 2 ) );
				++i;
			}
			
			return dayDataProvider;
		}
		
		static public function get LIST():Array
		{
			var listDatatProvider : Array = [];
			
			var len : int = 30
			var i : int = 0;
			while ( i < len )
			{
				listDatatProvider.push(		{ index : i, title : "View" + i, leftIcon : new ICON_NEW_SMALL } );
				++i;
			}
			
			return listDatatProvider;
		}
		
		
		//-----------------------------------------------------------------------------------
		// setter / getter
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// protected functions
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// internal functions
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// private functions
		//-----------------------------------------------------------------------------------
		//-----------------------------------------------------------------------------------
		// event handler
		//-----------------------------------------------------------------------------------
		
		
		
	}
}